3.2192 \(\int \frac{(d+e x)^3}{\left (a+b x+c x^2\right )^3} \, dx\)

Optimal. Leaf size=158 \[ -\frac{6 (2 c d-b e) \left (a e^2-b d e+c d^2\right ) \tanh ^{-1}\left (\frac{b+2 c x}{\sqrt{b^2-4 a c}}\right )}{\left (b^2-4 a c\right )^{5/2}}-\frac{(b+2 c x) (d+e x)^3}{2 \left (b^2-4 a c\right ) \left (a+b x+c x^2\right )^2}+\frac{3 (d+e x) (2 c d-b e) (-2 a e+x (2 c d-b e)+b d)}{2 \left (b^2-4 a c\right )^2 \left (a+b x+c x^2\right )} \]

[Out]

-((b + 2*c*x)*(d + e*x)^3)/(2*(b^2 - 4*a*c)*(a + b*x + c*x^2)^2) + (3*(2*c*d - b
*e)*(d + e*x)*(b*d - 2*a*e + (2*c*d - b*e)*x))/(2*(b^2 - 4*a*c)^2*(a + b*x + c*x
^2)) - (6*(2*c*d - b*e)*(c*d^2 - b*d*e + a*e^2)*ArcTanh[(b + 2*c*x)/Sqrt[b^2 - 4
*a*c]])/(b^2 - 4*a*c)^(5/2)

_______________________________________________________________________________________

Rubi [A]  time = 0.223801, antiderivative size = 158, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.2 \[ -\frac{6 (2 c d-b e) \left (a e^2-b d e+c d^2\right ) \tanh ^{-1}\left (\frac{b+2 c x}{\sqrt{b^2-4 a c}}\right )}{\left (b^2-4 a c\right )^{5/2}}-\frac{(b+2 c x) (d+e x)^3}{2 \left (b^2-4 a c\right ) \left (a+b x+c x^2\right )^2}+\frac{3 (d+e x) (2 c d-b e) (-2 a e+x (2 c d-b e)+b d)}{2 \left (b^2-4 a c\right )^2 \left (a+b x+c x^2\right )} \]

Antiderivative was successfully verified.

[In]  Int[(d + e*x)^3/(a + b*x + c*x^2)^3,x]

[Out]

-((b + 2*c*x)*(d + e*x)^3)/(2*(b^2 - 4*a*c)*(a + b*x + c*x^2)^2) + (3*(2*c*d - b
*e)*(d + e*x)*(b*d - 2*a*e + (2*c*d - b*e)*x))/(2*(b^2 - 4*a*c)^2*(a + b*x + c*x
^2)) - (6*(2*c*d - b*e)*(c*d^2 - b*d*e + a*e^2)*ArcTanh[(b + 2*c*x)/Sqrt[b^2 - 4
*a*c]])/(b^2 - 4*a*c)^(5/2)

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 33.4721, size = 146, normalized size = 0.92 \[ - \frac{\left (b + 2 c x\right ) \left (d + e x\right )^{3}}{2 \left (- 4 a c + b^{2}\right ) \left (a + b x + c x^{2}\right )^{2}} + \frac{3 \left (d + e x\right ) \left (\frac{b e}{2} - c d\right ) \left (2 a e - b d + x \left (b e - 2 c d\right )\right )}{\left (- 4 a c + b^{2}\right )^{2} \left (a + b x + c x^{2}\right )} + \frac{6 \left (b e - 2 c d\right ) \left (a e^{2} - b d e + c d^{2}\right ) \operatorname{atanh}{\left (\frac{b + 2 c x}{\sqrt{- 4 a c + b^{2}}} \right )}}{\left (- 4 a c + b^{2}\right )^{\frac{5}{2}}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((e*x+d)**3/(c*x**2+b*x+a)**3,x)

[Out]

-(b + 2*c*x)*(d + e*x)**3/(2*(-4*a*c + b**2)*(a + b*x + c*x**2)**2) + 3*(d + e*x
)*(b*e/2 - c*d)*(2*a*e - b*d + x*(b*e - 2*c*d))/((-4*a*c + b**2)**2*(a + b*x + c
*x**2)) + 6*(b*e - 2*c*d)*(a*e**2 - b*d*e + c*d**2)*atanh((b + 2*c*x)/sqrt(-4*a*
c + b**2))/(-4*a*c + b**2)**(5/2)

_______________________________________________________________________________________

Mathematica [A]  time = 0.890309, size = 308, normalized size = 1.95 \[ \frac{1}{2} \left (\frac{2 c \left (a^2 e^3-3 a c d e (d+e x)+c^2 d^3 x\right )+b^2 e^2 (3 c d x-a e)+b c \left (3 a e^2 (d+e x)+c d^2 (d-3 e x)\right )-b^3 e^3 x}{c^2 \left (4 a c-b^2\right ) (a+x (b+c x))^2}+\frac{4 c^2 \left (-4 a^2 e^3+3 a c d e^2 x+3 c^2 d^3 x\right )+b^2 c e \left (5 a e^2-9 c d^2+6 c d e x\right )+6 b c^2 \left (a e^2 (d-e x)+c d^2 (d-3 e x)\right )+b^4 \left (-e^3\right )+3 b^3 c d e^2}{c^2 \left (b^2-4 a c\right )^2 (a+x (b+c x))}+\frac{12 (2 c d-b e) \left (e (a e-b d)+c d^2\right ) \tan ^{-1}\left (\frac{b+2 c x}{\sqrt{4 a c-b^2}}\right )}{\left (4 a c-b^2\right )^{5/2}}\right ) \]

Antiderivative was successfully verified.

[In]  Integrate[(d + e*x)^3/(a + b*x + c*x^2)^3,x]

[Out]

((3*b^3*c*d*e^2 - b^4*e^3 + b^2*c*e*(-9*c*d^2 + 5*a*e^2 + 6*c*d*e*x) + 4*c^2*(-4
*a^2*e^3 + 3*c^2*d^3*x + 3*a*c*d*e^2*x) + 6*b*c^2*(c*d^2*(d - 3*e*x) + a*e^2*(d
- e*x)))/(c^2*(b^2 - 4*a*c)^2*(a + x*(b + c*x))) + (-(b^3*e^3*x) + b^2*e^2*(-(a*
e) + 3*c*d*x) + 2*c*(a^2*e^3 + c^2*d^3*x - 3*a*c*d*e*(d + e*x)) + b*c*(c*d^2*(d
- 3*e*x) + 3*a*e^2*(d + e*x)))/(c^2*(-b^2 + 4*a*c)*(a + x*(b + c*x))^2) + (12*(2
*c*d - b*e)*(c*d^2 + e*(-(b*d) + a*e))*ArcTan[(b + 2*c*x)/Sqrt[-b^2 + 4*a*c]])/(
-b^2 + 4*a*c)^(5/2))/2

_______________________________________________________________________________________

Maple [B]  time = 0.017, size = 695, normalized size = 4.4 \[{\frac{1}{ \left ( c{x}^{2}+bx+a \right ) ^{2}} \left ( -3\,{\frac{c \left ( ab{e}^{3}-2\,ad{e}^{2}c-{b}^{2}d{e}^{2}+3\,bc{d}^{2}e-2\,{c}^{2}{d}^{3} \right ){x}^{3}}{16\,{a}^{2}{c}^{2}-8\,ac{b}^{2}+{b}^{4}}}-{\frac{ \left ( 16\,{a}^{2}{c}^{2}{e}^{3}+a{b}^{2}c{e}^{3}-18\,ab{c}^{2}d{e}^{2}+{b}^{4}{e}^{3}-9\,{b}^{3}cd{e}^{2}+27\,{b}^{2}{c}^{2}{d}^{2}e-18\,b{c}^{3}{d}^{3} \right ){x}^{2}}{2\,c \left ( 16\,{a}^{2}{c}^{2}-8\,ac{b}^{2}+{b}^{4} \right ) }}-{\frac{ \left ( 5\,{a}^{2}bc{e}^{3}+6\,{a}^{2}{c}^{2}d{e}^{2}+a{b}^{3}{e}^{3}-15\,a{b}^{2}cd{e}^{2}+15\,ab{c}^{2}{d}^{2}e-10\,a{c}^{3}{d}^{3}+3\,{b}^{3}c{d}^{2}e-2\,{b}^{2}{c}^{2}{d}^{3} \right ) x}{c \left ( 16\,{a}^{2}{c}^{2}-8\,ac{b}^{2}+{b}^{4} \right ) }}-{\frac{8\,{a}^{3}c{e}^{3}+{a}^{2}{b}^{2}{e}^{3}-18\,{a}^{2}bcd{e}^{2}+24\,{a}^{2}{c}^{2}{d}^{2}e+3\,a{b}^{2}c{d}^{2}e-10\,ab{c}^{2}{d}^{3}+{b}^{3}c{d}^{3}}{2\,c \left ( 16\,{a}^{2}{c}^{2}-8\,ac{b}^{2}+{b}^{4} \right ) }} \right ) }-6\,{\frac{ab{e}^{3}}{ \left ( 16\,{a}^{2}{c}^{2}-8\,ac{b}^{2}+{b}^{4} \right ) \sqrt{4\,ac-{b}^{2}}}\arctan \left ({\frac{2\,cx+b}{\sqrt{4\,ac-{b}^{2}}}} \right ) }+12\,{\frac{ad{e}^{2}c}{ \left ( 16\,{a}^{2}{c}^{2}-8\,ac{b}^{2}+{b}^{4} \right ) \sqrt{4\,ac-{b}^{2}}}\arctan \left ({\frac{2\,cx+b}{\sqrt{4\,ac-{b}^{2}}}} \right ) }+6\,{\frac{{b}^{2}d{e}^{2}}{ \left ( 16\,{a}^{2}{c}^{2}-8\,ac{b}^{2}+{b}^{4} \right ) \sqrt{4\,ac-{b}^{2}}}\arctan \left ({\frac{2\,cx+b}{\sqrt{4\,ac-{b}^{2}}}} \right ) }-18\,{\frac{bc{d}^{2}e}{ \left ( 16\,{a}^{2}{c}^{2}-8\,ac{b}^{2}+{b}^{4} \right ) \sqrt{4\,ac-{b}^{2}}}\arctan \left ({\frac{2\,cx+b}{\sqrt{4\,ac-{b}^{2}}}} \right ) }+12\,{\frac{{c}^{2}{d}^{3}}{ \left ( 16\,{a}^{2}{c}^{2}-8\,ac{b}^{2}+{b}^{4} \right ) \sqrt{4\,ac-{b}^{2}}}\arctan \left ({\frac{2\,cx+b}{\sqrt{4\,ac-{b}^{2}}}} \right ) } \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((e*x+d)^3/(c*x^2+b*x+a)^3,x)

[Out]

(-3*c*(a*b*e^3-2*a*c*d*e^2-b^2*d*e^2+3*b*c*d^2*e-2*c^2*d^3)/(16*a^2*c^2-8*a*b^2*
c+b^4)*x^3-1/2*(16*a^2*c^2*e^3+a*b^2*c*e^3-18*a*b*c^2*d*e^2+b^4*e^3-9*b^3*c*d*e^
2+27*b^2*c^2*d^2*e-18*b*c^3*d^3)/c/(16*a^2*c^2-8*a*b^2*c+b^4)*x^2-1/c*(5*a^2*b*c
*e^3+6*a^2*c^2*d*e^2+a*b^3*e^3-15*a*b^2*c*d*e^2+15*a*b*c^2*d^2*e-10*a*c^3*d^3+3*
b^3*c*d^2*e-2*b^2*c^2*d^3)/(16*a^2*c^2-8*a*b^2*c+b^4)*x-1/2/c*(8*a^3*c*e^3+a^2*b
^2*e^3-18*a^2*b*c*d*e^2+24*a^2*c^2*d^2*e+3*a*b^2*c*d^2*e-10*a*b*c^2*d^3+b^3*c*d^
3)/(16*a^2*c^2-8*a*b^2*c+b^4))/(c*x^2+b*x+a)^2-6/(16*a^2*c^2-8*a*b^2*c+b^4)/(4*a
*c-b^2)^(1/2)*arctan((2*c*x+b)/(4*a*c-b^2)^(1/2))*a*b*e^3+12/(16*a^2*c^2-8*a*b^2
*c+b^4)/(4*a*c-b^2)^(1/2)*arctan((2*c*x+b)/(4*a*c-b^2)^(1/2))*a*d*e^2*c+6/(16*a^
2*c^2-8*a*b^2*c+b^4)/(4*a*c-b^2)^(1/2)*arctan((2*c*x+b)/(4*a*c-b^2)^(1/2))*b^2*d
*e^2-18/(16*a^2*c^2-8*a*b^2*c+b^4)/(4*a*c-b^2)^(1/2)*arctan((2*c*x+b)/(4*a*c-b^2
)^(1/2))*b*c*d^2*e+12/(16*a^2*c^2-8*a*b^2*c+b^4)/(4*a*c-b^2)^(1/2)*arctan((2*c*x
+b)/(4*a*c-b^2)^(1/2))*c^2*d^3

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((e*x + d)^3/(c*x^2 + b*x + a)^3,x, algorithm="maxima")

[Out]

Exception raised: ValueError

_______________________________________________________________________________________

Fricas [A]  time = 0.236369, size = 1, normalized size = 0.01 \[ \text{result too large to display} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((e*x + d)^3/(c*x^2 + b*x + a)^3,x, algorithm="fricas")

[Out]

[-1/2*(6*(2*a^2*c^3*d^3 - 3*a^2*b*c^2*d^2*e - a^3*b*c*e^3 + (2*c^5*d^3 - 3*b*c^4
*d^2*e - a*b*c^3*e^3 + (b^2*c^3 + 2*a*c^4)*d*e^2)*x^4 + (a^2*b^2*c + 2*a^3*c^2)*
d*e^2 + 2*(2*b*c^4*d^3 - 3*b^2*c^3*d^2*e - a*b^2*c^2*e^3 + (b^3*c^2 + 2*a*b*c^3)
*d*e^2)*x^3 + (2*(b^2*c^3 + 2*a*c^4)*d^3 - 3*(b^3*c^2 + 2*a*b*c^3)*d^2*e + (b^4*
c + 4*a*b^2*c^2 + 4*a^2*c^3)*d*e^2 - (a*b^3*c + 2*a^2*b*c^2)*e^3)*x^2 + 2*(2*a*b
*c^3*d^3 - 3*a*b^2*c^2*d^2*e - a^2*b^2*c*e^3 + (a*b^3*c + 2*a^2*b*c^2)*d*e^2)*x)
*log((b^3 - 4*a*b*c + 2*(b^2*c - 4*a*c^2)*x + (2*c^2*x^2 + 2*b*c*x + b^2 - 2*a*c
)*sqrt(b^2 - 4*a*c))/(c*x^2 + b*x + a)) - (18*a^2*b*c*d*e^2 - (b^3*c - 10*a*b*c^
2)*d^3 - 3*(a*b^2*c + 8*a^2*c^2)*d^2*e - (a^2*b^2 + 8*a^3*c)*e^3 + 6*(2*c^4*d^3
- 3*b*c^3*d^2*e - a*b*c^2*e^3 + (b^2*c^2 + 2*a*c^3)*d*e^2)*x^3 + (18*b*c^3*d^3 -
 27*b^2*c^2*d^2*e + 9*(b^3*c + 2*a*b*c^2)*d*e^2 - (b^4 + a*b^2*c + 16*a^2*c^2)*e
^3)*x^2 + 2*(2*(b^2*c^2 + 5*a*c^3)*d^3 - 3*(b^3*c + 5*a*b*c^2)*d^2*e + 3*(5*a*b^
2*c - 2*a^2*c^2)*d*e^2 - (a*b^3 + 5*a^2*b*c)*e^3)*x)*sqrt(b^2 - 4*a*c))/((a^2*b^
4*c - 8*a^3*b^2*c^2 + 16*a^4*c^3 + (b^4*c^3 - 8*a*b^2*c^4 + 16*a^2*c^5)*x^4 + 2*
(b^5*c^2 - 8*a*b^3*c^3 + 16*a^2*b*c^4)*x^3 + (b^6*c - 6*a*b^4*c^2 + 32*a^3*c^4)*
x^2 + 2*(a*b^5*c - 8*a^2*b^3*c^2 + 16*a^3*b*c^3)*x)*sqrt(b^2 - 4*a*c)), 1/2*(12*
(2*a^2*c^3*d^3 - 3*a^2*b*c^2*d^2*e - a^3*b*c*e^3 + (2*c^5*d^3 - 3*b*c^4*d^2*e -
a*b*c^3*e^3 + (b^2*c^3 + 2*a*c^4)*d*e^2)*x^4 + (a^2*b^2*c + 2*a^3*c^2)*d*e^2 + 2
*(2*b*c^4*d^3 - 3*b^2*c^3*d^2*e - a*b^2*c^2*e^3 + (b^3*c^2 + 2*a*b*c^3)*d*e^2)*x
^3 + (2*(b^2*c^3 + 2*a*c^4)*d^3 - 3*(b^3*c^2 + 2*a*b*c^3)*d^2*e + (b^4*c + 4*a*b
^2*c^2 + 4*a^2*c^3)*d*e^2 - (a*b^3*c + 2*a^2*b*c^2)*e^3)*x^2 + 2*(2*a*b*c^3*d^3
- 3*a*b^2*c^2*d^2*e - a^2*b^2*c*e^3 + (a*b^3*c + 2*a^2*b*c^2)*d*e^2)*x)*arctan(-
sqrt(-b^2 + 4*a*c)*(2*c*x + b)/(b^2 - 4*a*c)) + (18*a^2*b*c*d*e^2 - (b^3*c - 10*
a*b*c^2)*d^3 - 3*(a*b^2*c + 8*a^2*c^2)*d^2*e - (a^2*b^2 + 8*a^3*c)*e^3 + 6*(2*c^
4*d^3 - 3*b*c^3*d^2*e - a*b*c^2*e^3 + (b^2*c^2 + 2*a*c^3)*d*e^2)*x^3 + (18*b*c^3
*d^3 - 27*b^2*c^2*d^2*e + 9*(b^3*c + 2*a*b*c^2)*d*e^2 - (b^4 + a*b^2*c + 16*a^2*
c^2)*e^3)*x^2 + 2*(2*(b^2*c^2 + 5*a*c^3)*d^3 - 3*(b^3*c + 5*a*b*c^2)*d^2*e + 3*(
5*a*b^2*c - 2*a^2*c^2)*d*e^2 - (a*b^3 + 5*a^2*b*c)*e^3)*x)*sqrt(-b^2 + 4*a*c))/(
(a^2*b^4*c - 8*a^3*b^2*c^2 + 16*a^4*c^3 + (b^4*c^3 - 8*a*b^2*c^4 + 16*a^2*c^5)*x
^4 + 2*(b^5*c^2 - 8*a*b^3*c^3 + 16*a^2*b*c^4)*x^3 + (b^6*c - 6*a*b^4*c^2 + 32*a^
3*c^4)*x^2 + 2*(a*b^5*c - 8*a^2*b^3*c^2 + 16*a^3*b*c^3)*x)*sqrt(-b^2 + 4*a*c))]

_______________________________________________________________________________________

Sympy [A]  time = 36.2289, size = 1180, normalized size = 7.47 \[ \text{result too large to display} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((e*x+d)**3/(c*x**2+b*x+a)**3,x)

[Out]

3*sqrt(-1/(4*a*c - b**2)**5)*(b*e - 2*c*d)*(a*e**2 - b*d*e + c*d**2)*log(x + (-1
92*a**3*c**3*sqrt(-1/(4*a*c - b**2)**5)*(b*e - 2*c*d)*(a*e**2 - b*d*e + c*d**2)
+ 144*a**2*b**2*c**2*sqrt(-1/(4*a*c - b**2)**5)*(b*e - 2*c*d)*(a*e**2 - b*d*e +
c*d**2) - 36*a*b**4*c*sqrt(-1/(4*a*c - b**2)**5)*(b*e - 2*c*d)*(a*e**2 - b*d*e +
 c*d**2) + 3*a*b**2*e**3 - 6*a*b*c*d*e**2 + 3*b**6*sqrt(-1/(4*a*c - b**2)**5)*(b
*e - 2*c*d)*(a*e**2 - b*d*e + c*d**2) - 3*b**3*d*e**2 + 9*b**2*c*d**2*e - 6*b*c*
*2*d**3)/(6*a*b*c*e**3 - 12*a*c**2*d*e**2 - 6*b**2*c*d*e**2 + 18*b*c**2*d**2*e -
 12*c**3*d**3)) - 3*sqrt(-1/(4*a*c - b**2)**5)*(b*e - 2*c*d)*(a*e**2 - b*d*e + c
*d**2)*log(x + (192*a**3*c**3*sqrt(-1/(4*a*c - b**2)**5)*(b*e - 2*c*d)*(a*e**2 -
 b*d*e + c*d**2) - 144*a**2*b**2*c**2*sqrt(-1/(4*a*c - b**2)**5)*(b*e - 2*c*d)*(
a*e**2 - b*d*e + c*d**2) + 36*a*b**4*c*sqrt(-1/(4*a*c - b**2)**5)*(b*e - 2*c*d)*
(a*e**2 - b*d*e + c*d**2) + 3*a*b**2*e**3 - 6*a*b*c*d*e**2 - 3*b**6*sqrt(-1/(4*a
*c - b**2)**5)*(b*e - 2*c*d)*(a*e**2 - b*d*e + c*d**2) - 3*b**3*d*e**2 + 9*b**2*
c*d**2*e - 6*b*c**2*d**3)/(6*a*b*c*e**3 - 12*a*c**2*d*e**2 - 6*b**2*c*d*e**2 + 1
8*b*c**2*d**2*e - 12*c**3*d**3)) - (8*a**3*c*e**3 + a**2*b**2*e**3 - 18*a**2*b*c
*d*e**2 + 24*a**2*c**2*d**2*e + 3*a*b**2*c*d**2*e - 10*a*b*c**2*d**3 + b**3*c*d*
*3 + x**3*(6*a*b*c**2*e**3 - 12*a*c**3*d*e**2 - 6*b**2*c**2*d*e**2 + 18*b*c**3*d
**2*e - 12*c**4*d**3) + x**2*(16*a**2*c**2*e**3 + a*b**2*c*e**3 - 18*a*b*c**2*d*
e**2 + b**4*e**3 - 9*b**3*c*d*e**2 + 27*b**2*c**2*d**2*e - 18*b*c**3*d**3) + x*(
10*a**2*b*c*e**3 + 12*a**2*c**2*d*e**2 + 2*a*b**3*e**3 - 30*a*b**2*c*d*e**2 + 30
*a*b*c**2*d**2*e - 20*a*c**3*d**3 + 6*b**3*c*d**2*e - 4*b**2*c**2*d**3))/(32*a**
4*c**3 - 16*a**3*b**2*c**2 + 2*a**2*b**4*c + x**4*(32*a**2*c**5 - 16*a*b**2*c**4
 + 2*b**4*c**3) + x**3*(64*a**2*b*c**4 - 32*a*b**3*c**3 + 4*b**5*c**2) + x**2*(6
4*a**3*c**4 - 12*a*b**4*c**2 + 2*b**6*c) + x*(64*a**3*b*c**3 - 32*a**2*b**3*c**2
 + 4*a*b**5*c))

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.208002, size = 602, normalized size = 3.81 \[ \frac{6 \,{\left (2 \, c^{2} d^{3} - 3 \, b c d^{2} e + b^{2} d e^{2} + 2 \, a c d e^{2} - a b e^{3}\right )} \arctan \left (\frac{2 \, c x + b}{\sqrt{-b^{2} + 4 \, a c}}\right )}{{\left (b^{4} - 8 \, a b^{2} c + 16 \, a^{2} c^{2}\right )} \sqrt{-b^{2} + 4 \, a c}} + \frac{12 \, c^{4} d^{3} x^{3} - 18 \, b c^{3} d^{2} x^{3} e + 18 \, b c^{3} d^{3} x^{2} + 6 \, b^{2} c^{2} d x^{3} e^{2} + 12 \, a c^{3} d x^{3} e^{2} - 27 \, b^{2} c^{2} d^{2} x^{2} e + 4 \, b^{2} c^{2} d^{3} x + 20 \, a c^{3} d^{3} x - 6 \, a b c^{2} x^{3} e^{3} + 9 \, b^{3} c d x^{2} e^{2} + 18 \, a b c^{2} d x^{2} e^{2} - 6 \, b^{3} c d^{2} x e - 30 \, a b c^{2} d^{2} x e - b^{3} c d^{3} + 10 \, a b c^{2} d^{3} - b^{4} x^{2} e^{3} - a b^{2} c x^{2} e^{3} - 16 \, a^{2} c^{2} x^{2} e^{3} + 30 \, a b^{2} c d x e^{2} - 12 \, a^{2} c^{2} d x e^{2} - 3 \, a b^{2} c d^{2} e - 24 \, a^{2} c^{2} d^{2} e - 2 \, a b^{3} x e^{3} - 10 \, a^{2} b c x e^{3} + 18 \, a^{2} b c d e^{2} - a^{2} b^{2} e^{3} - 8 \, a^{3} c e^{3}}{2 \,{\left (b^{4} c - 8 \, a b^{2} c^{2} + 16 \, a^{2} c^{3}\right )}{\left (c x^{2} + b x + a\right )}^{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((e*x + d)^3/(c*x^2 + b*x + a)^3,x, algorithm="giac")

[Out]

6*(2*c^2*d^3 - 3*b*c*d^2*e + b^2*d*e^2 + 2*a*c*d*e^2 - a*b*e^3)*arctan((2*c*x +
b)/sqrt(-b^2 + 4*a*c))/((b^4 - 8*a*b^2*c + 16*a^2*c^2)*sqrt(-b^2 + 4*a*c)) + 1/2
*(12*c^4*d^3*x^3 - 18*b*c^3*d^2*x^3*e + 18*b*c^3*d^3*x^2 + 6*b^2*c^2*d*x^3*e^2 +
 12*a*c^3*d*x^3*e^2 - 27*b^2*c^2*d^2*x^2*e + 4*b^2*c^2*d^3*x + 20*a*c^3*d^3*x -
6*a*b*c^2*x^3*e^3 + 9*b^3*c*d*x^2*e^2 + 18*a*b*c^2*d*x^2*e^2 - 6*b^3*c*d^2*x*e -
 30*a*b*c^2*d^2*x*e - b^3*c*d^3 + 10*a*b*c^2*d^3 - b^4*x^2*e^3 - a*b^2*c*x^2*e^3
 - 16*a^2*c^2*x^2*e^3 + 30*a*b^2*c*d*x*e^2 - 12*a^2*c^2*d*x*e^2 - 3*a*b^2*c*d^2*
e - 24*a^2*c^2*d^2*e - 2*a*b^3*x*e^3 - 10*a^2*b*c*x*e^3 + 18*a^2*b*c*d*e^2 - a^2
*b^2*e^3 - 8*a^3*c*e^3)/((b^4*c - 8*a*b^2*c^2 + 16*a^2*c^3)*(c*x^2 + b*x + a)^2)